#ifndef MATERIALTYPELIST_H
#define MATERIALTYPELIST_H

#include <QListWidget>
#include <QObject>

class MaterialTypeList : public QListWidget
{
    Q_OBJECT
public:
    explicit MaterialTypeList(QWidget *parent = nullptr);
    void LoadItems(const QStringList& items);

private:
    void applyStyles();
    void setupConnections();

signals:
    void itemSelected(const QString& item);

private slots:
    void onItemClicked(QListWidgetItem *item);
};

#endif // MATERIALTYPELIST_H
